const Mock = require('mockjs')
const data = Mock.mock({
  "list|100": [{
    "image": '@image(200x150, @color, image)',
    "id": '@id',
    "title": '@ctitle',
    "word": '@cword(10, 20)'
  }]
})
const fs = require('fs')
fs.writeFileSync('data.json', JSON.stringify(data))